#include <stdio.h>
#include <string.h>

int main() {
  char str[1024] = {0};
  scanf("%[^\n]s", str);
  for (long i = 0; i < strlen(str); i++) {
    if ((str[i] >= 'a') && (str[i] <= 'z')) {
      str[i] = (str[i] - 'a') + 'A';
    }
  }
  long x = strlen(str);
  printf("%s\nlength = %ld\n", str, x);
  long a1[100] = {0};
  long a2[100] = {0};

  return 0;
}